package 练习;

import javax.crypto.Cipher;

public class circleTest {
    public static void main(String[] args) {
        circle circle = new circle();
        circle.r = 5;
//        circle.area();

//        double pai = 3.1415926;
        circle.area2(3.14);
        circle.area2(3.1415926);

        double r = 10;
        double pai = 3.14;

        double s = circle.area3(r,pai);

        System.out.println("半径为" + r
                + "的圆面积为" + s);




    }
}

